<template>
	<div id="refund">
		<c-title :hide="false" text='退还商品'></c-title>
		<div id="state">
			<span>商品状态:</span>
			<span>{{order_status}}</span>
		</div>
		<div class="return-money">
			<ul class="money">

				<li>
					<span class="left">押金预计退还金额</span>
					<span class="right">{{$i18n.t('money')}}{{deposit_total}}</span>
				</li>
			</ul>
			<p class="prompt">提示：最终退款金额已商品退还确认后为准</p>

			<p class="prompt">提示：点击"开始申请"按钮开始申请</p>

			<van-button size="large" type="danger" @click="applyData">
            开始申请
           </van-button>
		</div>
	</div>
</template>

<script>
import refund from './order_return_check_controller';
export default refund;

</script>

<style lang="scss" rel="stylesheet/scss" scoped>
#refund {
  #state {
    display: flex;
    justify-content: space-between;
    background-color: #f15353;
    color: #fff;
    padding: 0 0.875rem;
    height: 3.75rem;
    text-align: left;

    span {
      font-size: 16px;
      font-weight: bold;
      line-height: 3.75rem;
    }
  }

  .return-money {
    background-color: #fff;
    padding: 0 0.875rem;
  }

  .money {
    padding: 0.625rem 0;
    border-bottom: solid 0.0625rem #ebebeb;

    li {
      line-height: 1.875rem;
      display: flex;
      justify-content: space-between;
      font-size: 14px;
    }

    .right {
      color: #f15353;
    }
  }

  .prompt {
    color: #8c8c8c;
    text-align: left;
    line-height: 2.25rem;
  }

  .state {
    background-color: #fff;
    height: 6.25rem;
    text-align: left;

    ul {
      display: flex;
      justify-content: space-between;
      margin-left: 0.875rem;
      padding-right: 0.875rem;
      border-bottom: solid 0.0625rem #ebebeb;

      li {
        line-height: 2.25rem;
      }

      b {
        font-size: 16px;
        color: rgb(179, 55, 55);
      }

      span {
        font-size: 16px;
        font-weight: bold;
      }
    }
  }

  .line {
    height: 0.3125rem;
    background: url() repeat;
  }

  .refund-add {
    text-align: left;
    font-size: 14px;
    line-height: 1.5rem;
    margin-bottom: 0.625rem;
  }

  .add-box {
    margin-bottom: 1.25rem;

    .addr {
      border-top: solid 0.0625rem #ebebeb;
      display: flex;
      justify-content: space-between;
      flex-flow: row wrap;
      align-items: center;
      background: #fff;
      padding: 1rem 0;

      .icon {
        font-size: 14px;
        display: flex;

        i {
          line-height: 1.5rem;
          margin-right: 0.625rem;
        }
      }

      i {
        font-size: 16px;
        color: #333;
      }

      .fa-angle-right {
        font-size: 24px;
        color: #c9c9c9;
      }

      p {
        flex: 6;
        text-align: justify;
        font-weight: bold;
        line-height: 1.5rem;
        padding-right: 1rem;
        color: #333;

        span {
          font-size: 14px;
          font-weight: normal;
          color: #666;
        }
      }
    }
  }

  .refund-express {
    width: 100%;
    display: flex;
    text-align: left;
    font-size: 14px;

    span {
      width: 21%;
      line-height: 1.625rem;
    }

    select {
      width: 79%;
      border: solid 0.0625rem #ebebeb;
      background-color: #fff;
      height: 1.625rem;
      border-radius: 0.1875rem;
      padding: 0 0.25rem;
      color: #8c8c8c;
    }
  }

  .express-member {
    span {
      line-height: 1.625rem;
      width: 21%;
    }

    display: flex;
    justify-content: space-between;
    text-align: left;
    font-size: 14px;
    margin-top: 1.25rem;

    input {
      background-color: #fff;
      border: solid 0.0625rem #ebebeb;
      width: 79%;
      height: 1.625rem;
      border-radius: 0.1875rem;
      padding: 0 0.25rem;
    }
  }

  .remarks {
    justify-content: space-between;
    text-align: left;
    font-size: 14px;
    display: flex;
    margin-top: 1.25rem;

    span {
      margin-right: 0.625rem;
    }

    textarea {
      width: 79%;
      background-color: #fafafa;
      border: solid 0.0625rem #ebebeb;
      border-radius: 0.25rem;
      padding: 0.25rem;
      height: 4.25rem;
    }
  }

  .submit {
    margin-top: 1.25rem;

    input {
      width: 60%;
      height: 2rem;
      color: #fff;
      background-color: #f15353;
      border: none;
      border-radius: 0.25rem;
      font-size: 14px;
    }
  }
}

</style>
